package org.numb.concurrency.chapter04;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

public class ExecutorDemo {

    public static void main(String[] args) {
        Executor executor = Executors.newCachedThreadPool();
        executor = Executors.newFixedThreadPool(5);
        executor = Executors.newScheduledThreadPool(10);
        executor = Executors.newSingleThreadExecutor();
    }
}
